import axios from "axios";
let remove = (data)=>axios.post('/notice/remove',data);
let list = (params)=>axios.get('/notice/list',{params});
let add = (data)=>axios.post('/notice/release',data);
let on = (data)=>axios.post('/notice/stick',data);
let detail = (params)=>axios.get('/notice/detail',{params});
let edit = (data)=>axios.post('/notice/edit',data);
export default{
   list,
 remove,
 add,
 on,
 detail,
 edit,
}

